<HTML><HEAD><TITLE>mkdir(+Path)</TITLE>
</HEAD><BODY>[ <A HREF="index.html">Operating System</A> | <A HREF="../../index.html">Reference Manual</A> | <A HREF="../../fullindex.html">Alphabetic Index</A> ]
<H1>mkdir(+Path)</H1>
Create a directory/folder with the given name.


<DL>
<DT><EM>Path</EM></DT>
<DD>An atom or a string.
</DD>
</DL>
<H2>Description</H2>
   Used to create directories (folders) in the filesystem.
   Path may be an absolute or relative name.

<P>

<H3>Modes and Determinism</H3><UL>
<LI>mkdir(+) is det
</UL>
<H3>Exceptions</H3>
<DL>
<DT><EM>(4) instantiation fault </EM>
<DD>Path is not instantiated.
<DT><EM>(5) type error </EM>
<DD>Path is neither an atom nor a string.
</DL>
<H2>Examples</H2>
<PRE>
      [eclipse 1]: mkdir(tmpdir).

      yes.
      [eclipse 1]: mkdir(tmpdir).
      system interface error: File exists in mkdir(tmpdir)



</PRE>
<H2>See Also</H2>
<A HREF="../../kernel/opsys/sh-1.html">sh / 1</A>, <A HREF="../../kernel/opsys/system-1.html">system / 1</A>, <A HREF="../../kernel/opsys/exists-1.html">exists / 1</A>, <A HREF="../../kernel/opsys/delete-1.html">delete / 1</A>
</BODY></HTML>
